#ifndef LINUXWEEK12PROJ_LIBRARY_H
#define LINUXWEEK12PROJ_LIBRARY_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

struct sequence {
    int kind;
    char *seq;
    int length;
    char *name;
    int compl;
};

struct interval {
    int counter;
    int begin;
    int end;
    int compl;
    int kind;
    char *name;
};


int icmpr(const void *, const void *);

struct interval *get_interval(const char *, int);

int interval_number(const char *);

void interpret_line();

struct sequence *read_seq(char *file_name);

#endif //LINUXWEEK12PROJ_LIBRARY_H
